package com.kun.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author SunKun
 * @since 2021-06-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Blogger对象", description="")
public class Blogger implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "博主编号")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "用户名")
    @TableField("username")
    private String username;

    @ApiModelProperty(value = "密码")
    private String password;

    @ApiModelProperty(value = "个人简介")
    private String profile;

    @ApiModelProperty(value = "昵称")
    @TableField("nickname")
    private String nickname;

    @ApiModelProperty(value = "座右铭")
    private String sign;

    @ApiModelProperty(value = "博主头像")
    @TableField("imageName")
    private String imageName;
}
